<?php
/* @var $this UserController */
/* @var $model UserContactModel */
/* @var $form CActiveForm */
?>

<div id="page-info" class="clearfix">
	<h1 class="pull-left">我的帐户</h1>

	<ul class="nav nav-pills pull-right">
		<li><a href="#">基本信息</a></li>
		<li class="active"><a href="#">联系方式</a></li>
		<li><a href="#">身份认证</a></li>
	</ul>
</div>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'user-contact-model-contact-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div>
		<?php echo $form->label($model, 'mobile'); ?>
		<?php echo $form->textField($model, 'mobile'); ?>
		<?php echo $form->error($model, 'mobile'); ?>
	</div>

	<div>
		<?php echo $form->label($model, 'email'); ?>
		<?php echo $form->textField($model, 'email'); ?>
		<?php echo $form->error($model, 'email'); ?>
	</div>

	<div>
		<?php echo $form->label($model, 'phone'); ?>
		<?php echo $form->textField($model, 'phoneHead', array('placeholder' => Yii::t('app', 'phone head'), 'class' => 'input-mini')); ?> -
		<?php echo $form->textField($model, 'phoneBody', array('placeholder' => Yii::t('app', 'phone body'), 'class' => 'input-medium')); ?> -
		<?php echo $form->textField($model, 'phoneFoot', array('placeholder' => Yii::t('app', 'phone foot'), 'class' => 'input-mini')); ?>
		<?php echo $form->error($model, 'phone'); ?>
	</div>

	<div>
		<?php echo $form->label($model, 'qq'); ?>
		<?php echo $form->textField($model, 'qq'); ?>
		<?php echo $form->error($model, 'qq'); ?>
	</div>

	<div class="button-area">
		<button class="btn btn-info" type="submit"><?php echo Yii::t('app', 'save'); ?></button>
	</div>

<?php $this->endWidget(); ?>

</div>